import { createApp } from 'vue'
import './style.css'
import App from './App.vue'

//#region [ ElementPlus ]
import ElementPlus from "element-plus";
import "element-plus/dist/index.css"; // 生产打包时采用CDN
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
//#endregion

//#region [ createApp ]
const app = createApp(App);
// 启用
app.use(ElementPlus);
// 导入所有图标并进行全局注册
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
// 挂载
app.mount("#app");
//#endregion
